#ifndef TRANSFER_H_
#define TRANSFER_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <proto_head.h>
#include "evconnsvrd.h"
#include "conn_event.h"

int transfer_conn2c(int16_t cmd, int32_t flag, connev_t* connev);

int transfer_conn2c_pkg(int16_t cmd,int32_t flag, const char* pkgbuf, 
		size_t pkgbuflen, int32_t encrypt_key, connev_t* connev);

int transfer_conn2s(int16_t cmd, int32_t address, struct LSI* lsi, lsi_ip_t server_addr);

int transfer_conn2s_pkg(int16_t cmd, int32_t address, const char* pkgbuf, 
				size_t pkgbuf_len, int32_t encrypt_key, struct LSI* lsi, lsi_ip_t server_addr);


#ifdef __cplusplus
}
#endif

#endif // TRANSFER_H_



